package com.ruoyi.common.dto;

import lombok.Data;

@Data
public class OrderEsSearchParam {

    private String oid = "";

    private Integer status = 0;

    private Long startTime;

    private Long endTime;

    private Integer postSaleType = 0;

    private String itemTitle = "";

    private String buyerMixed = "";

    private String buyerNick = "";

    private String consigneePhone = "";

    private String consigneeName = "";

    private String expressNo = "";

    private Integer activityType = 0;

    private Integer refundByDeposit = 0;

    private Integer insuranceType = 0;

    private Integer timeoutOfDeliveryType = 0;

    private Integer cpsType = 0;

    private String distributeRoleName = "";

    private String distributeRoleMixed = "";

    private Integer sortType = 1;

    private Integer searchForOrderList = 1;

    private boolean checkMerge = true;

    private Integer offset = 0;

    private Integer limit = 10;

    private Integer remindShipment = 0;

    private Integer tradeType = 0;

    private Integer extendReceipt = 0;

    private Integer promiseDeliveryStartTime = 0;

    private Integer promiseDeliveryEndTime = 0;

    private Integer delayDeliveryType = 0;

    private Integer privacyAuthorizeStatus = 0;

    private EstimatedIncomeRange estimatedIncomeRange;

    private CommissionRateRange commissionRateRange;

}


@Data
class EstimatedIncomeRange {
    private String min = "";

    private String max = "";
}

@Data
class CommissionRateRange {
    private String min = "";

    private String max = "";
}